package com.leo.protocol.response;

import com.leo.protocol.Packet;
import lombok.Data;

import static com.leo.protocol.command.Command.LOGIN_RESPONSE;

/**
 * @ClassName LoginResponsePacket
 * @Description
 * @Author wangss
 * @date 2022.03.24 21:00
 * @Version 1.0
 */
@Data
public class LoginResponsePacket extends Packet {

    private boolean success;

    private String reason;

    @Override
    public Byte getCommand() {
        return LOGIN_RESPONSE;
    }
}
